import React from "react";
import ReactDOM from "react-dom/client";
import ReactDOMDOM from "react-dom";

import App from "./App";
import "./index.css";

// 18之后的方式
// ReactDOM.createRoot(document.querySelector("#root")).render(<App />);

// 18之前的方式
ReactDOMDOM.render(<App />, document.querySelector("#root"));
